package io.renren.sf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.sf.entity.HzCopyingSteleCalligraphyEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2023-05-09 14:41:39
 */
public interface HzCopyingSteleCalligraphyService extends IService<HzCopyingSteleCalligraphyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateAllRelatedSteleCalligraphyYears(Long oldId, String years, Long id);

    void updateAllRelatedSteleCalligraphyStyle(Long oldId, String style, Long id);

    void updateAllRelatedSteleCalligraphyCalligrapher(Long oldId, String calligrapher, Long id);

    List<HzCopyingSteleCalligraphyEntity> querySteleCalligraphy(Integer curPage, Integer pageSize, String years, String style, String calligrapher, String condition);

    Integer querySteleCalligraphyNum(String years, String style, String calligrapher, String condition);

    HzCopyingSteleCalligraphyEntity findOneById(Long id);

    List<HzCopyingSteleCalligraphyEntity> findByIds(List<Long> sidList);
}

